<template>
  <div>
    <h1>Switch 开关</h1>
    <switch1></switch1>
    <switch2></switch2>
  </div>
</template>

<script>
import Switch1 from  './Switch1'
import Switch2 from  './Switch2'
export default {
  name: 'SwitchDemo',
  components: {
    Switch1,
    Switch2
  }
}
</script>

<style  scoped>
   h1 {
    margin-bottom: 10px;
  }
</style>
